#[macro_use]
extern crate log;

pub fn info(message: &str) {
    info!("[component:{}] {}", "elk-client-rust", message)
}
pub fn warn(message: &str) {
    warn!("[component:{}] {}", "elk-client-rust", message)
}
pub fn error(message: &str) {
    error!("[component:{}] {}", "elk-client-rust", message)
}

fn main() {
    env_logger::init();
    info("hello world") ;
    warn("hello world") ;
    error("hello world") ;
}
